home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 031a / owlbwcc.zip / BWMYBTN.RC < prev    next >
Text File  |  1992-01-26  |  2KB  |  54 lines

  1. /*****************************************************************/
  2. /* BWMYBTN.RC defines a simple Borland Windows Custom Control    */
  3. /* Dialog Box that can be used as the main window.               */
  4. /* Notice the CLASS "BORDLG" to activate the metalic background  */
  5. /* Also notice the special "Borshade" Control.                   */
  6. /* This dialog was designed with the workshop and the #includes  */
  7. /* and these comments were added later using the BC++ 3.0 Editor */
  8. /*****************************************************************/
  9.  
  10. #include "windows.h"
  11. #include "bwcc.h"
  12.  
  13. MAINWINDOWDIALOG DIALOG 21, 15, 150, 171
  14. CAPTION "Your Own Buttons"
  15. CLASS "BORDLG"
  16. STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
  17. BEGIN
  18.     CONTROL "", 102, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 0, 126, 150, 1
  19.     CONTROL "", 101, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 6, 7, 138, 114
  20.     CTEXT "Is the relationship between the", -1, 12, 24, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  21.     CTEXT "Control ID of the BWCC Button ", -1, 12, 36, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  22.     CTEXT "And the Names of the 3 Bitmaps", -1, 12, 48, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  23.     CTEXT "That make up the button", -1, 12, 60, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  24.     CTEXT "If the control ID is 110", -1, 12, 72, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  25.     CTEXT "1110 is the bitmap for the button", -1, 12, 84, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  26.     CTEXT "3110 is the bitmap for depressed", -1, 12, 96, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  27.     CTEXT "5110 is the bitmap for focused", -1, 12, 108, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  28.     CONTROL "Button", 110, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 24, 132, 32, 20
  29.     CONTROL "Button", 120, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 90, 132, 32, 20
  30.     CTEXT "The Trick To Drawing your own buttons", -1, 12, 12, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  31. END
  32.  
  33.  
  34.  
  35.  
  36.  
  37. 1110 BITMAP btn1000.bmp
  38.  
  39.  
  40. 3110 BITMAP btn3000.bmp
  41.  
  42.  
  43. 5110 BITMAP btn5000.bmp
  44.  
  45.  
  46. 1120 BITMAP go1.bmp
  47.  
  48.  
  49. 3120 BITMAP go3.bmp
  50.  
  51.  
  52. 5120 BITMAP go5.bmp
  53.  
  54.